package server_proxy

import (
	"net/rpc"
	"server/handler"
)

type HelloServicer interface {
	Hello(request string, resp *string) error
}

func RegiserHelloService(srv HelloServicer) (err error) {
	err = rpc.RegisterName(handler.HelloServiceName, srv)
	return
}
